package com.hq.bus.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(name = "bus_customer")
public class Customer {
    @Id
    private String identity;

    private String custname;

    private Double sex;

    private String address;

    private String phone;

    private String career;

    private Date createtime;
}